﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Demo05202
{
    class Shape//父类
    {
        private string color;
        public string Color { get; set; }
        public Shape() { }
        //虚方法
        public virtual void GetArea(double num) 
        { }

    }
}
